package top.kaoshanji.p3ch11a;

/**
 * 代码清单-p3ch11a-337页a：生成唯一标识符的Java类
 * author kaoshanji
 * ^_^
 * create time 2025/2/3 16:36
 */
public class IdGenerator {

    private int value = 0;

    public int getNext() {
        return value++;
    }

}
